package com.ymatou.iapi.settlement.service;

import com.ymt.base.YmatouBaseCall;
import com.ymttest.utils.EnvSetup;

/**
 * 确认收货时生成结算单接口Call FreeMaker Template自动生成代码
 */
public class GenerateInvoicesOnOrderReceivedCall extends YmatouBaseCall {
    private static String opurl = "api/generateInvoicesOnOrderReceived";

    public GenerateInvoicesOnOrderReceivedCall() {
        super(EnvSetup.getSystemUrl("settlement_iapi"), opurl, "POST", "JSON");
    }

    @Override
    public void addDefHeader() {
        client.addHeader("Accept", "text/xml,text/javascript,text/html,application/json");
        client.addHeader("Content-Type", "application/json; charset=UTF-8");
    }
}
